package com.example.midushop.mapper.product.find;

import com.example.midushop.entity.product.find.GetProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品查询首页显示实体类
 */
@Mapper
public interface GetProductMapper {
    //查询商品信息 通用
    List<GetProduct> GetProductAll(@Param("is_marketable") int is_marketable, @Param("spu_id") long spu_id,@Param("spu_name") String spu_name,@Param("categoryone_name") String categoryone_name,
                                   @Param("xiaw") String[] categorytwo_name,@Param("categorythree_name") String categorythree_name,
                                   @Param("brand_name") String brand_name,@Param("times") int times,@Param("price_order") int price_order,@Param("sales_volume_order") int sales_volume_order,@Param("priceOne") int priceOne,@Param("priceTwo") int priceTwo);
}
